Fedora 27
Sponsored Link

FTP Server : Install Pure-FTPd
2017/12/19
 
Install Pure-FTPd to configure FTP Server.
[1] Install and Configure Pure-FTPd.
[root@www ~]#
dnf -y install pure-ftpd
[root@www ~]#
vi /etc/pure-ftpd/pure-ftpd.conf
# line 77: change (no Anonymous)

NoAnonymous      
yes
# line 439: uncomment (if you use only IPv4)

IPV4Only       yes
# line 446: uncomment (if you use only IPv6)

IPV6Only       yes
[root@www ~]#
systemctl start pure-ftpd

[root@www ~]#
systemctl enable pure-ftpd

[2] If Firewalld is running, allow FTP service.
[root@www ~]#
vi /etc/pure-ftpd/pure-ftpd.conf
# line 180: uncomment and fix PASV ports

PassivePortRange      
21000 21010
[root@www ~]#
systemctl restart pure-ftpd
[root@www ~]#
firewall-cmd --add-service=ftp --permanent

success
[root@www ~]#
firewall-cmd --add-port=21000-21010/tcp --permanent

success
[root@www ~]#
firewall-cmd --reload

success
[3] If SELinux is enabled, change Boolean setting.
[root@www ~]#
setsebool -P ftpd_full_access on

 
Tweet